package com.bianmaba.ec6;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author: chenjiabin
 * @description:
 * @create: 2019/11/4 16:53
 */
@SpringBootApplication
public class Ec6Application extends SpringBootServletInitializer {
    private static final Log LOG = LogFactory.getLog(Ec6Application.class);

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(this.getClass());
    }

    public static void main(String[] args) {
        LOG.info("samples start...");
        SpringApplication.run(Ec6Application.class, args);
    }
}
